package com.example.spring;

import org.springframework.beans.factory.SmartInitializingSingleton;

public class MySmartSingleton implements SmartInitializingSingleton {

    @Override
    public void afterSingletonsInstantiated() {
        System.out.println("我在哪里");
    }
}
